﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysMgrMain.aspx.cs" Inherits="InformationSystem.WebSite.Module.SysMgr.SysMgrMain" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function callback() {
            parent.ResizeFrameHeight(sysPanel.getHeight());
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server">
        <Listeners>
            <DocumentReady Fn="callback()" />
        </Listeners>
    </ext:ResourceManager>
    <ext:Panel runat="server" ID="sysPanel" Title="系统注册" Padding="20">
        <Items>
            <ext:FormPanel ID="FormPanel1" runat="server" Padding="10" DefaultAnchor="0" LabelWidth="80">
                <Items>
                    <ext:TextArea runat="server" FieldLabel="注册序列号" ID="txtregid">
                    </ext:TextArea>
                    <ext:FileUploadField runat="server" FieldLabel="授权文件" Icon="Attach" ButtonText="浏览..." ID="regfile">
                    </ext:FileUploadField>
                </Items>
                <Buttons>
                    <ext:Button ID="Button2" runat="server" Text="清空">
                        <Listeners>
                            <Click Handler="#{FormPanel1}.getForm().reset();" />
                        </Listeners>
                    </ext:Button>
                    <ext:Button ID="Button1" runat="server" Text="注册">
                    <DirectEvents>
                    <Click  OnEvent="Register_Click"></Click>
                    </DirectEvents>
                    </ext:Button>
                </Buttons>
            </ext:FormPanel>
        </Items>
        <BottomBar>
            <ext:StatusBar ID="regstatus" runat="server" Text="尚未注册">
            </ext:StatusBar>
        </BottomBar>
    </ext:Panel>
    </form>
</body>
</html>
